//
//  WSOrderDetailDataResolveTool.h
//  FD
//
//  Created by xiaofang wang on 2018/11/1.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WSOrderBigModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface WSOrderDetailDataResolveTool : NSObject
/**1.解析有用信息model*/
+ (WSOrderBigModel *)resolvingOrderBigModelWithDic:(NSDictionary *)dic;
/**2.解析餐品信息数组*/
+ (NSMutableArray *)resolvingCanPinMsgDataWithDic:(NSDictionary *)dic;
/**解析订单信息数组*/
+ (NSMutableArray *)resolvingOrderMsgDataWithDic:(NSDictionary *)dic;


/**解析talbeView用到的数据*/
+ (NSArray *)xinResolvingTableViewDataWithDic:(NSDictionary *)dic;

@end

NS_ASSUME_NONNULL_END

/**
 {"event":"SUCCESS","data":{"totalAmount":69.00,"couponAmount":0.00,"shop":{"address":"Edenhall, Model Farm Rd, Cork, Ireland","phone":"021 494 7888","latitude":51.8903393,"name":"Edenhall","id":1,"longitude":-8.5386944},"freightAmount":2.00,"bonusAmount":6.9,"actualAmount":69.00,"goodsList":[{"quantity":1,"price":6.00,"ingredientClassifyList":[{"name":"Sauce","ingredientList":[{"price":0.00,"name":"Sweet Sour","id":210}],"id":7}],"id":89,"title":"Marinated Ribs","userOrderDetailId":587},{"quantity":2,"price":8.00,"ingredientClassifyList":[{"name":"Size","ingredientList":[{"price":0.00,"name":"8","id":834}],"id":1},{"name":"Toppings","ingredientList":[{"price":1.00,"name":"Extra Cheese","id":838},{"price":1.00,"name":"Chicken Strips","id":839},{"price":1.00,"name":"Ham","id":841},{"price":1.00,"name":"Tandoori Chicken","id":840}],"id":2}],"id":186,"title":"Pepperoni","userOrderDetailId":590},{"quantity":1,"price":5.00,"ingredientClassifyList":[{"name":"Size","ingredientList":[{"price":9.00,"name":"14","id":859}],"id":1},{"name":"Toppings","ingredientList":[{"price":1.00,"name":"Chicken Strips","id":861},{"price":1.00,"name":"Extra Cheese","id":860},{"price":1.00,"name":"Tandoori Chicken","id":862},{"price":1.00,"name":"Salami","id":865},{"price":1.00,"name":"Bacon","id":867},{"price":1.00,"name":"Pepperoni","id":864},{"price":1.00,"name":"Beef mince","id":866},{"price":1.00,"name":"Sausage slices","id":868},{"price":1.00,"name":"Red onion","id":869},{"price":1.00,"name":"Pineapple","id":871},{"price":1.00,"name":"Mixed peppers","id":870}],"id":2}],"id":187,"title":"Margherita","userOrderDetailId":591},{"quantity":1,"price":6.50,"ingredientClassifyList":[],"id":92,"title":"Bread Crumbed Prawns","userOrderDetailId":588},{"quantity":1,"price":5.50,"ingredientClassifyList":[],"id":144,"title":"Fried Vegetables","userOrderDetailId":589}],"userShippingAddress":{"consignee":"张学友","phone":"1008611","sex":0,"latitude":51.8881855,"detail":"3 Kenley  ave","region":"","longitude":-8.5248957},"remark":"","id":"201901090000022","status":0,"paymentType":1},"describe":""}
 */
